package com.ctvit.sjk.knowledge.document.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * 文档批量删除DTO
 *
 * @author heyingcheng
 * @date 2025/03/25
 */
@Getter
@Setter
@ToString
public class DocumentBatchDeleteDTO {

    /**
     * 文档ID集合
     */
    @JsonProperty("id_list")
    private List<String> idList;

    public DocumentBatchDeleteDTO() {

    }

    public DocumentBatchDeleteDTO(String id) {
        this.idList = new ArrayList<>();
        this.idList.add(id);
    }

}
